Compact decode and multiplexing circuitry for a multi-port memory having a common memory interface

ABSTRACT

A memory array for a multi-port memory having a common memory interface and a plurality of memory ports through which the memory array is accessed is provided. The memory array includes (r·s·t) memory locations with the memory array organized as a first memory sub-array accessible through a first of the plurality of memory ports as a (m×t) memory array and organized as a second memory sub-array accessible through a second of the plurality of memory ports as a (n×t) memory array. Both m and n are multiples of a value r, and the sum of (m/r) and (n/r) is equal to s. The memory array further organized as a common memory array accessible through the common memory interface as a (r×s×t) memory array.

TECHNICAL FIELD

The present invention relates to multi-port memories, and more specifically, relates to a compact decode and multiplexing circuitry for a multi-port memory having a common memory interface.

BACKGROUND OF THE INVENTION

Multi-port memories are used in a variety of applications. In one application, multi-port static random access memory (SRAM) arrays are used as memory buffers between logic circuitry and slower dynamic random access memory (DRAM). Conventionally, the SRAM arrays used in these types of applications are two-port memories having two independently accessible ports. This allows for memory locations in the SRAM to be accessed by the logic circuitry through one of the two ports in order to free the logic circuitry from having to wait to complete memory accesses to the slower DRAM, and further allows the DRAM to access the SRAM through the other port to update any data.

FIG. 1 shows a conventional multi-port memory 100 having two two-port memory arrays 102, 104 sharing a common interface, represented by address terminals 112, 113 and common data bus 114. As shown in FIG. 1, the memory arrays 102, 104 are configured as a 256×8 SRAM array and a 32×8 SRAM array. The memory arrays 102, 104 can be embedded SRAM arrays formed on a single die with additional logic circuitry (not shown). The two-port memory arrays 102, 104 each have one memory port 120, 130, that provides access to the respective memory arrays. Although not shown in FIG. 1, respective logic circuitry can be coupled to each port to access the memory arrays 102, 104. Each port 103, 105, 120, 130 has its own decode circuitry (not shown) to decode the memory address provided over a respective address terminal to provide access to the memory array through the respective port. The memory port 120 is represented by address terminal 122 and data input/output 124, and the memory port 130 is represented by address terminal 132 and data input/output 134. Each multi-port memory array 102, 104 also has a second memory port 103, 105 that also provides access to each memory array 102, 104. However, each data port is coupled to a multiplexer 106 to be accessed through the common memory interface 110. The common interface 110 can be coupled to DRAM so that the multi-port memory 100 can be used as a memory buffer between any logic circuitry and the DRAM. As shown in FIG. 1, the data buses 115, 116 from each of the memory arrays 102, 104 are routed to the multiplexer 106 for selection of which of the data busses 115, 116, to couple to the common data bus 114 for access. Selection of which of the data busses 115, 116 is based on a selection signal SEL0/1 provided to the multiplexer 106 through a selection terminal 108.

Several issues arise in forming multi-port memories having a common memory interface from conventional two-port memories. For example, where the multi-port memory 100 is implemented as an embedded memory, forming byte-wide data busses for each memory array consumes precious space on a semiconductor die. The problem is exacerbated for byte-wide multi-port memories having several memory ports in addition to the common memory interface 110. Additionally, as previously discussed, each port of a two-port memory has respective decode circuitry and requires a common multiplexer for coupling to a common memory interface. This circuitry further consumes space on the semiconductor die. Moreover, the number and length of conductive lines forming the multiple data busses may result in significant loading effects caused by signal line impedance and cross coupling. Another issue with the conventional multi-port memory 100, is that by including a multiplexer in the data path, such as the multiplexer 106, timing constraints for the multi-port memory are increased since propagation delays through the multiplexer 106 and the need to ensure signal integrity add to memory access times. Typically, memory access times are relaxed to accommodate any timing delays caused by the multiplexer 106. However, increasing memory access times is viewed as a very undesirable solution.

Therefore, there is a need for an alternative multiplexing scheme for a multi-port memory having a common memory interface shared by the multiple memory arrays of the multi-port memory.

SUMMARY OF THE INVENTION

According to one aspect of the invention, a memory array for a multi-port memory having a common memory interface and a plurality of memory ports through which the memory array is accessed is provided. The memory array includes (r·s·t) memory locations with the memory array organized as a first memory sub-array accessible through a first of the plurality of memory ports as a (m×t) memory array and further organized as a second memory sub-array accessible through a second of the plurality of memory ports as a (n×t) memory array. Both m and n are multiples of a value r, and the sum of (m/r) and (n/r) is equal to s. The memory array further organized as a common memory array accessible through the common memory interface as a (r×s×t) memory array.

In another aspect of the invention, a method of organizing a memory array having m memory locations for use in a multi-port memory having a common memory interface and a plurality of memory ports through which the memory array is accessed is provided. The method includes organizing the m memory locations into first and second non-overlapping memory sub-arrays. The first memory sub-array is organized as a (r×t) memory array accessible through a first of the plurality of memory ports and the second memory sub-array is organized as a (s×t) memory sub-array accessible through a second of the plurality of memory ports. The sum of (r·t) and (s·t) is equal to m, and both r and s multiples of a value q. The method further includes organizing the m memory locations into a common memory array organized as a (q×((r/q)+(s/q))×t) memory array accessible through the common memory interface.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a functional block diagram of a conventional multi-port memory.

FIG. 2 is a functional block diagram of a multi-port memory according to an embodiment of the present invention.

FIG. 3 is a diagram illustrating a memory configuration of memory arrays of the multi-port memory of FIG. 2.

FIG. 4 is a diagram illustrating a memory configuration of memory arrays of the multi-port memory of FIG. 2 according to an embodiment of the present invention.

FIG. 5 is a diagram illustrating a memory configuration of memory arrays and multiplexing scheme of the multi-port memory of FIG. 2 according to an embodiment of the present invention.

FIG. 6 is a processing system having a multi-port memory according to an embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

FIG. 2 shows a multi-port memory device 200 according to an embodiment of the present invention. Certain details are set forth below to provide a sufficient understanding of the invention. However, it will be clear to one skilled in the art that the invention may be practiced without these particular details. In other instances, well-known circuits, control signals, and timing protocols have not been shown in detail in order to avoid unnecessarily obscuring the invention.

The multi-port memory 200 is a three-port memory having memory ports 210, 220, 230, and having two memory arrays 202, 204. In an embodiment of the present invention, the multi-port memory 200 is implemented as an embedded memory in a integrated circuit having additional logic circuitry (not shown) coupled to the multi-port memory 200, and the memory arrays 202, 204 are arrays of SRAM memory cells. It will be appreciated, however, that the specific implementation of the multi-port memory 200, whether as an embedded memory or as a discrete memory device, can be modified without departing from the scope of the present invention. Moreover, the memory arrays can be of memory cells other than SRAM memory cells, such as DRAM memory cells, or in an alternative embodiment, non-volatile memory cells. The memory array 202 is arranged as a 256×8 memory array and the memory array 204 is arranged as a 32×8 memory array. As well known, to address a 256×8 memory array, an eight bit address is required, and to address a 32×8 memory array, a five bit address is required. Each of the ports 210, 220, 230 include an address input 212, 222, 232, and data input/output 214, 224, 234, all respectively. Each of the memory ports 220, 230 can be coupled to a respective address and data bus through which each memory array 202, 204 can be independently accessed. As shown in FIG. 3, the memory port 220 provides access to the memory array 202 and the memory port 230 provides access to the memory array 204. In contrast, the memory port 210 is a common memory port that is shared between the memory arrays 202, 204 and through which the combined memory of the memory arrays 202, 204 can be accessed. The common address input 212 and data input/output 214 is decoded and multiplexed between the memory arrays 202, 204 by decode/multiplexing circuitry 206 under the control of a selection signal SEL0/1 that is applied to a selection input 208.

As will be described in more detail below, although the organization of the memory array 202 accessed through the memory port 220 is shown as being 256×8, and the organization of the memory array 204 accessed through the memory port 230 is shown as being 32×8, the memory arrays 202, 204 can be accessed as a single 32×9×8 memory array through the common memory port 210. The decoding and multiplexing circuitry 206 provides a compact multiplexing scheme that is employed by the multi-port memory 200 to provide the 32×9×8 memory organization and avoid the need for parallel data busses routed to a conventional multiplexer, as previously described for conventional multi-ported memories using multiple two-port memory arrays.

By using the manner of multiplexing of the multi-port memory 200, only three sets of decoding circuitry is needed (i.e., one set for each port 210, 220, 230) in comparison to conventional designs where four sets of decoding circuitry is typically used. Thus, having one less set of decoding circuitry will save space on the die. Additionally, because the multiplexing of the multi-port memory 200 leverages existing array decoding circuitry, an external multiplexer is not needed, such as with conventional designs. Thus, further space savings are provided, as well as removing timing constraints otherwise resulting from an external mutliplexer.

As shown in FIG. 2, and as will explained in greater detail below, an eight bit address plus the one bit SEL0/1 signal, are required to address the 32×9×8 memory array. Although not shown in FIG. 2, conventional address decoding circuitry can be used in the multi-port memory 200 to decode the memory addresses provided on address inputs 212, 222, 232 for access to the memory arrays 202, 204. Suitable decoding circuitry is well known to those ordinarily skilled in the art, and have not been described in detail herein in the interest of brevity. Nevertheless, those ordinarily skilled in the art will obtain sufficient understand from the description provided herein to practice embodiments of the present invention.

FIG. 3 illustrates a logical organization of the memory arrays 202, 204 in the multi-port memory 200. As shown in FIG. 3, each of the memory arrays 202, 204 have two ×8 data input/outputs. That is, the memory array 202 includes the ×8 data input/output 224 that is associated with the data port 220 and further includes a ×8 data input/output 216 that represents one of the two input/outputs of the common data input/output 214. The memory array 204 includes the ×8 data input/output 234 that is associated with the data port 230 and further includes a ×8 data input/output 218 that represents the second of the two input/outputs of the common data input/output 214. As previously discussed, the memory array 202 is accessible through the data port 220 as a 256 ×8 memory array and the memory array 204 is accessible through the data port 230 as a 32 ×8 memory array. However, the combined memory array of 202, 204 can also be accessed through the common data port 210 and the decode/multiplexing circuitry 206 as a 32×9×8 memory array using the compact multiplexing scheme described in more detail below.

FIG. 3 illustrates the memory array 202 logically segmented into several 32×8 memory segments. Although a 256×8 memory array provides eight 32×8 segments, only 32×8 memory segments 260, 261, 267 are shown in FIG. 3. FIG. 4 illustrates the multiple 32×8 segments 260-267 of the memory array 202 logically arranged in a 32×8×8 organization. Each of the 32×8 segments 260-267 has an 8-bit wide data input/output coupled to a multiplexer 280. The multiplexer 280 is arranged as eight adjacent 8-to-1 multiplexers 280 a-h. The eight input/outputs of the mutliplexer 280 represent the ×8 data input/output 216. The 32×8 memory array 204 also has an 8-bit wide data input/output, but is coupled to a data input/output buffer 290 arranged as eight adjacent input/output buffers 290 a-h. Each input/output buffer 290 a-h represents one bit of the ×8 data input/output 218 of the memory array 204.

Whereas FIG. 4 illustrates the memory arrays 202, 204 as separate memory arrays, that is, one logically organized as a 32×8×8 memory array and the other organized as a 32×8 memory array, FIG. 5 illustrates a combined memory array 300 logically organized as a 32×9×8 memory array. Comparing FIGS. 4 and 5, the memory array 204 is merely added to the memory array 202 logically organized as a 32×8×8 memory array, resulting in the combined memory array 300. Each of the eight 32×8 memory segments 260-267, as well as the memory array 202, has an 8-bit wide input/output coupled to a 9-to-1 multiplexer 320. The multiplexer 320 represents circuitry included in the decoding/multiplexing circuitry 206, shown in FIG. 2. The multiplexer 320 includes eight adjacent 9-to-1 multiplexers 320 a-h. The input/output of the 9-to-1 multiplexer 320 a-h represents the 8-bit wide common data input/output 214 of the common memory port 210 (FIG. 2). The 9-to-1 multiplexer 320 combines the 8-to-1 multiplexer 280 and the input/output buffer 290 shown in FIG. 4. The 9-to-1 multiplexer 320 can be implemented using conventional designs and circuitry well known by those ordinarily skilled in the art.

With respect to addressing the memory array 300, it will be appreciated by those ordinarily skilled in the art that in order to address one of the 32 rows of each of the memory segments/array 260-267, 204, a five bit address is required. Moreover, three additional address bits and the single bit SEL0/1 signal can be used for selecting eight memory locations through the 9-to-1 multiplexer 320 for access. For example, with reference to FIG. 4, three address bits (not shown) can be used to select one of the eight memory segments 260-267 through the 8-to-1 multiplexer 280 and the SEL0/1 signal can be used to select either the data input/output 216 or the data input/output 214.

The compact arrangement of the 9-to-1 multiplexer 320 allows the memory arrays 202, 204 to be logically organized as a 32×9×8 memory array that is accessible through the common memory port 210, while still being individually accessible through the memory ports 220, 230 as memory arrays having different memory organizations, namely, arranged as 256×8 and 32×8 memory arrays. It will be appreciated that although the data input/outputs 224, 234 of the memory ports 220, 230 are not shown in FIGS. 4 and 5, the memory arrays 202, 204 still accessible through the respective memory ports in the logical organization of the individual memory arrays 202, 204 as shown in FIG. 2. The data input/outputs 224, 234 have been omitted from FIGS. 4 and 5 to avoid unnecessarily complicating the respective figures.

In operation, when the memory array 300 is accessed (through the memory port 210 and decode/multiplexing circuitry 206), the same row in each of the memory segments 260-267 and the memory array 204 is activated. As previously discussed, a row of memory runs parallel to the y-axis, and the columns of memory run parallel to the x-axis. As a result, when a row of memory is activated, the eight memory locations at the intersection of the activated row and the columns of a memory segment/array will be accessed. Since a row of memory in each of the memory segments/array 260-267, 204 is activated, the eight memory locations of each of the memory segments/array 260-267, 204 are coupled to the 9-to-1 multiplexer 320 to be accessed. Conceptually, the 72 memory locations (i.e., 8 memory locations per memory segment/array×9 memory segments/array) are located in a plane parallel to the y-z plane.

The eight memory locations of a memory segment/array are coupled to a respective one of the eight adjacent 9-to-1 multiplexers. Additionally, the memory locations corresponding to the same bit position of the nine memory segments/array 260-267/204 are coupled to the same 9-to-1 multiplexer. For example, upon the activation of a row of memory, the memory segment 260 will couple the eight memory locations corresponding to eight bit positions B0-B7 to a respective one of the eight adjacent 9-to-1 multiplexers 320 a-h. That is, B0 of the memory segment 260 is coupled to the 9-to-1 multiplexer 320 a, B1 is coupled to the 9-to-1 multiplexer 320 b, B2 is coupled to the 9-to-1 multiplexer 320 c, and continues for each bit through B7 coupled to the 9-to-1 multiplexer 320 h. Similarly, the memory segment 261 will couple the eight memory locations corresponding to the eight bit positions B0-B7 to a respective one of the eight adjacent 9-to-1 multiplexers 320 a-h. The remaining memory segments 262-267 and the memory array 204 will likewise coupled each of the eight memory locations corresponding to the bit positions B0-B7 to a respective one of the eight adjacent 9-to-1 multiplexers 320 a-h. As a result, the memory locations corresponding to the bit position B0 from each of the nine memory segments/array 260-267, 204 are coupled to the 9-to-1 multiplexer 320 a. Similarly, the memory locations corresponding to the bit position B1 from each of the nine memory segments/array 260-267, 204 are coupled to the 9-to-1 multiplexer 320 b. The remaining memory locations corresponding to the bit positions B2-B7 from each of the nine memory segments/array 260-267, 204 are coupled to a respective one of the 9-to-1 multiplexers 320 c-h. In this manner, although 72 memory locations are coupled to the 9-to-1 multiplexer 320 upon the activation of a row of memory, eight memory locations from only one of the nine memory segments/array 260-267/204 are selected by the 9-to-1 multiplexer 320 to be coupled to the common data input/output 214 for access.

It will be appreciated that the details of the embodiment described with respect to FIGS. 2-5 have been provided by way of example, and that modifications can be made without departing from the scope of the present invention. More specifically, it will be appreciated that the memory capacity and configuration of memory arrays of a multi-port memory having a compact multiplexing scheme according to an embodiment of the present invention can be modified from the example provided by FIGS. 2-5. For example, in the previously described embodiment, the memory array 202 was logically segmented into eight 32×8 memory segments and combined with the 32×8 memory array 204 using a 9-to-1 multiplexer. However, in an alternative embodiment, the 32×8 memory array 204 is replaced by a 64×8 memory array. The 64×8 memory array can be logically segmented into two 32×8 memory segments, and combined with the eight 32×8 segments of the 256×8 memory array 202 by using multiplexer having eight adjacent 10-to-1 multiplexers to form a 32×10×8 memory array accessible through the common memory port. In addition to changing the configuration of the memory arrays, memory arrays of different widths can be used in alternative embodiments, such as ×16 or ×32 memory arrays. Additionally, the relative sizes of the memory arrays 202, 204 can be changed from that previously described without departing from the scope of the present invention. In alternative embodiments of the present invention, a multi-port memory includes more than two memory arrays and more than three memory ports. For example, embodiments of the present invention can be used to provide a multi-port memory having three memory arrays and four separate memory ports. Making such modifications are well within the understanding of those ordinarily skilled in the art. Additionally, those ordinarily skilled in the art will obtain sufficient understanding from the description provided herein to enable one to practice various embodiments of the present invention.

FIG. 6 illustrates a processing system 600 having multi-port memory according to an embodiment of the present invention. The multi-port 200 is used as a memory buffer between logic circuitry 610, 626 and DRAM 630. The logic circuitry 610 is coupled to the memory port 220 and the logic circuitry 620 is coupled to the memory port 230. Coupled to the common port 210 is a memory interface circuit 632 and the DRAM 630. The memory interface 632 provides the appropriate control and address signals to both the DRAM 630 and the multi-port memory 200 to transfer data between the two. The logic circuitry 610, 620 represent various circuitry that can be coupled to the two independent memory ports 220, 230 for access to the multi-port memory 200. For example, in one embodiment, the logic circuitry 610 is processing circuitry for processing instructions and data stored in the memory array to which the memory port 220 provides access and the logic circuitry 620 represents external input/output circuitry that reads and writes data to the memory array through which the memory port 230 provides access. In an alternative embodiment, both the logic circuitry 610, 620 represent processing circuitry. It will be appreciated, however, that the logic circuitry 610, 620 can represent other types of circuitry well known in the art without departing from the scope of the present invention.

From the foregoing it will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. Accordingly, the invention is not limited except as by the appended claims. 

What is claimed is:
 1. A memory array for a multi-port memory having a common memory interface and a plurality of memory ports through which the memory array is accessed, the memory array comprising: a memory array having (r·s·t) memory locations, the memory array organized as a first memory sub-array accessible through a first of the plurality of memory ports as a (m×t) memory array and organized as a second memory sub-array accessible through a second of the plurality of memory ports as a (n×t) memory array, both m and n being multiples of r and the sum of (m/r) and (n/r) equal to s, the memory array further organized as a common memory array accessible through the common memory interface as a (r×s×t) memory array.
 2. The memory array of claim 1 wherein n is equal to r.
 3. The memory array of claim 1 wherein m is a multiple of n.
 4. The memory array of claim 1 wherein the memory array comprises a memory array having the memory locations arranged in rows and columns of memory locations, and wherein the first memory sub-array is logically arranged as having m rows and t columns of memory locations and the second memory sub-array is logically arranged as having n rows and t columns of memory locations.
 5. The memory array of claim 1 wherein the memory array comprises an embedded memory array.
 6. The memory array of claim 1 wherein the memory array comprises an array of static random access memory cells.
 7. The memory array of claim 1, further comprising a multiplexer coupled to the memory array, the multiplexer selecting one of s sets of t memory locations for coupling to the common memory interface for access.
 8. The memory array of claim 7 wherein the multiplexer comprises: a first multiplexer coupled to the first memory sub-array to select one of (m/r) sets of t memory locations; a second multiplexer coupled to the second memory sub-array to select one of (n/r) sets of t memory locations; and a third multiplexer coupled to the first and second multiplexers to select either the first or second multiplexer to couple to the common memory interface for access.
 9. A multi-port memory having a common memory interface and a plurality of memory ports through which the multi-port memory is accessed, the multi-port memory comprising: a memory array having (r·s·t) memory locations, the memory array organized as a first memory sub-array accessible through a first of the plurality of memory ports as a (m×t) memory array and organized as a second memory sub-array accessible through a second of the plurality of memory ports as a (n×t) memory array, both m and n being multiples of r and the sum of m and n equal to s, the memory array further organized as a common memory array accessible through the common memory interface as a (r×s×t) memory array, the (r×s×t) memory array organized as s (r×t) memory segments, each memory segment having a set of t input/output terminals through which the memory locations of the respective memory segment are accessed; and a multiplexer coupled to the s sets of t input/output terminals of the s (r×t) memory segments, the multiplexer selecting one of the s sets of t input/output terminals for coupling to the common memory interface for access to the (r×s×t) memory array.
 10. The multi-port memory of claim 9 wherein n is equal to r.
 11. The multi-port memory of claim 9 wherein m is a multiple of n.
 12. The multi-port memory of claim 9 wherein the memory array comprises an embedded memory array.
 13. The multi-port memory of claim 9 wherein the memory array comprises an array of static random access memory cells.
 14. The multi-port memory of claim 9 wherein the multiplexer comprises: a first multiplexer coupled to the first memory sub-array to select one of (m/r) sets of t memory locations; a second multiplexer coupled to the second memory sub-array to select one of (n/r) sets of t memory locations; and a third multiplexer coupled to the first and second multiplexers to select either the first or second multiplexer to couple to the common memory interface for access.
 15. The multi-port memory of claim 9 wherein the memory locations are arranged in rows and columns of memory locations, and wherein the first memory sub-array is logically arranged as having m rows and t columns of memory locations and the second memory sub-array is logically arranged as having n rows and t columns of memory locations.
 16. A multi-port memory having a common data interface and a plurality of memory ports, the multi-port memory comprising: a first memory array having (m·n) memory locations and having a first set of n input/output terminals coupled to a first of the plurality of memory ports for providing access to the first memory array organized as a (m×n) memory array, m being a multiple of a value r; a second memory array having (q·n) memory locations and having a first set of n input/output terminals coupled to a second of the plurality of memory ports for providing access to the second memory array organized as a (q×n) memory array, q being a multiple of the value r, the first and second memory arrays each segmented into at least one memory segment organized as a (r×n) memory segment, each memory segment of the first and second memory arrays having a respective set of n input/output terminals through which the (r·n) memory locations of the respective memory segment are accessed; and a multiplexer coupled to the sets of n input/output terminals of each memory segment of the first and second memory arrays, the multiplexer selecting one of the sets of n input/output terminals for coupling to the common data interface for providing access to the first and second memory arrays organized as a (r×((m/r)+(q/r))×n) memory array.
 17. The multi-port memory of claim 16 wherein m is equal to r.
 18. The multi-port memory of claim 16 wherein q is a multiple of m.
 19. The multi-port memory of claim 16 wherein the first and second memory arrays comprise embedded memory arrays.
 20. The multi-port memory of claim 16 wherein the first and second memory arrays comprise arrays of static random access memory cells.
 21. The multi-port memory of claim 16 wherein the multiplexer comprises: a first multiplexer coupled to the memory segments of the first memory array to select one of (m/r) memory segments; a second multiplexer coupled to the memory segments of the second memory array to select one of (q/r) memory segments; and a third multiplexer coupled to the first and second multiplexers to select either the first or second multiplexer to couple to the common data interface for access.
 22. The multi-port memory of claim 16 wherein the memory locations are arranged in rows and columns of memory locations, and wherein the first memory array is logically arranged as having m rows and n columns of memory locations and the second memory array is logically arranged as having q rows and n columns of memory locations.
 23. A processing system, comprising: a common address and data bus; a plurality of sets of address and data busses; a memory coupled to the common address and data bus; first logic circuitry coupled to a first set of the plurality of sets of address and data busses; second logic circuitry coupled to a second set of the plurality of sets of address and data busses; and a multi-port memory having a common memory interface coupled to the common address and data busses through which data can be transferred between the memory and the multi-port memory, and a plurality of memory ports coupled to a respective set of address and data busses through which the first and second logic circuitry can access the multi-port memory, the multi-port memory comprising: a memory array having (r·s·t) memory locations, the memory array organized as a first memory sub-array accessible through a first of the plurality of memory ports as a (m×t) memory array and organized as a second memory sub-array accessible through a second of the plurality of memory ports as a (n×t) memory array, both m and n being multiples of r and the sum of m and n equal to s, the memory array further organized as a common memory array accessible through the common memory interface as a (r×s×t) memory array, the (r×s×t) memory array organized as s (r×t) memory segments, each memory segment having a set of t input/output terminals through which the memory locations of the respective memory segment are accessed; and a multiplexer coupled to the s sets of t input/output terminals of the s (r×t) memory segments, the multiplexer selecting one of the s sets of t input/output terminals for coupling to the common memory interface for access to the (r×s×t) memory array.
 24. The processing system of claim 23 wherein n is equal to r for the multi-port memory.
 25. The processing system of claim 23 wherein m is a multiple of n for the multi-port memory.
 26. The processing system of claim 23 wherein the memory array of the multi-port memory comprises an embedded memory array.
 27. The processing system of claim 23 wherein the memory array of the multi-port memory comprises an array of static random access memory cells.
 28. The processing system of claim 23 wherein the multiplexer of the multi-port memory comprises: a first multiplexer coupled to the first memory sub-array to select one of (m/r) sets of t memory locations; a second multiplexer coupled to the second memory sub-array to select one of (n/r) sets of t memory locations; and a third multiplexer coupled to the first and second multiplexers to select either the first or second multiplexer to couple to the common memory interface for access.
 29. The processing system of claim 23 wherein the memory locations of the multi-port memory are arranged in rows and columns of memory locations, and wherein the first memory sub-array is logically arranged as having m rows and t columns of memory locations and the second memory sub-array is logically arranged as having n rows and t columns of memory locations.
 30. A processing system, comprising: a common address and data bus; a plurality of sets of address and data busses; a memory coupled to the common address and data bus; first logic circuitry coupled to a first set of the plurality of sets of address and data busses; second logic circuitry coupled to a second set of the plurality of sets of address and data busses; and a multi-port memory having a common memory interface coupled to the common address and data busses through which data can be transferred between the memory and the multi-port memory, and a plurality of memory ports coupled to a respective set of address and data busses through which the first and second logic circuitry can access the multi-port memory, the multi-port memory comprising: a first memory array having (m·n) memory locations and having a first set of n input/output terminals coupled to a first of the plurality of memory ports for providing access to the first memory array organized as a (m×n) memory array, m being a multiple of a value r; a second memory array having (q·n) memory locations and having a first set of n input/output terminals coupled to a second of the plurality of memory ports for providing access to the second memory array organized as a (q×n) memory array, q being a multiple of the value r, the first and second memory arrays each segmented into at least one memory segment organized as a (r×n) memory segment, each memory segment of the first and second memory arrays having a respective set of n input/output terminals through which the (r·n) memory locations of the respective memory segment are accessed; and a multiplexer coupled to the sets of n input/output terminals of each memory segment of the first and second memory arrays, the multiplexer selecting one of the sets of n input/output terminals for coupling to the common data interface for providing access to the first and second memory arrays organized as a (r×((m/r)+(q/r))×n) memory array.
 31. The processing system of claim 30 wherein m is equal to r for the multi-port memory.
 32. The processing system of claim 30 wherein q is a multiple of m for the multi-port memory.
 33. The processing system of claim 30 wherein the first and second memory arrays of the multi-port memory array comprise embedded memory arrays.
 34. The processing system of claim 30 wherein the first and second memory arrays of the multi-port memory array comprise arrays of static random access memory cells.
 35. The processing system of claim 30 wherein the multiplexer of the multi-port memory comprises: a first multiplexer coupled to the memory segments of the first memory array to select one of (m/r) memory segments; a second multiplexer coupled to the memory segments of the second memory array to select one of (q/r) memory segments; and a third multiplexer coupled to the first and second multiplexers to select either the first or second multiplexer to couple to the common data interface for access.
 36. The processing system of claim 30 wherein the memory locations of the multi-port memory are arranged in rows and columns of memory locations, and wherein the first memory array is logically arranged as having m rows and n columns of memory locations and the second memory array is logically arranged as having q rows and n columns of memory locations.
 37. A method of organizing a memory array having m memory locations for a multi-port memory having a common memory interface and a plurality of memory ports through which the memory array is accessed, the method comprising: organizing the m memory locations into first and second non-overlapping memory sub-arrays, the first memory sub-array organized as a (r×t) memory array accessible through a first of the plurality of memory ports and the second memory sub-array organized as a (s×t) memory sub-array accessible through a second of the plurality of memory ports, ((r·t)+(s·t)) equal to m and both r and s multiples of a value q; and organizing the m memory locations into a common memory array organized as a (q×((r/q)+(s/q))×t) memory array accessible through the common memory interface.
 38. The method of claim 37 wherein s is equal to q.
 39. The method of claim 37 wherein r is a multiple of s.
 40. The method of claim 37 wherein organizing the m memory locations into first and second non-overlapping memory sub-arrays and into a common memory array comprises organizing m embedded memory locations into first and second non-overlapping embedded sub-arrays and into a common embedded memory array.
 41. The method of claim 37 wherein organizing the m memory locations into first and second non-overlapping memory sub-arrays and into a common memory array comprises organizing m static random access memory (SRAM) cells into first and second non-overlapping sub-arrays of SRAM cells and into a common embedded memory array of SRAM cells.
 42. The method of claim 37 wherein organizing the m memory locations into a common memory array organized as a (q×((r/q)+(s/q))×t) memory array accessible through the common memory interface comprises: organizing the m memory locations into ((r/q)+(s/q)) memory segments having a (q×t) organization; and selecting one of the ((r/q)+(s/q)) memory segments for access through the common memory interface.
 43. The method of claim 42 wherein selecting one of the ((r/q)+(s/q)) memory segments for access through the common memory interface comprises multiplexing the common memory interface between the ((r/q)+(s/q)) memory segments.
 44. A method of accessing a multi-port memory having a common memory interface and a plurality of memory ports through which a memory array having m memory locations is accessed, the method comprising: accessing through a first of the plurality of memory ports (r·t) memory locations of the m memory locations, the (r·t) memory locations organized as a (r×t) memory sub-array; accessing through a second of the plurality of memory ports (s·t) memory locations of the m memory locations, the (s·t) memory locations organized as a (s×t) memory sub-array, the sum of (r·t) and (s·t) equal to m, and r and s multiples of a value q; and accessing through the common memory interface the m memory locations organized as a (q×((r/q)+(s/q))×t) memory array.
 45. The method of claim 44 wherein accessing through the common memory interface the m memory locations organized as a (q×((r/q)+(s/q))×t) memory array comprises: segmenting the m memory locations into ((r/q)+(s/q)) memory segments organized as (q×t) memory segments, each segment having a set of t input/output terminals through which the respective memory segment is accessed; and selecting one of the sets of t input/output terminals for coupling to the common memory interface for access to the respective memory segment.
 46. The method of claim 45 wherein selecting one of the sets of t input/output terminals for coupling to the common memory interface comprises multiplexing the common memory interface between the ((r/q)+(s/q)) memory segments.
 47. The method of claim 44 wherein s is equal to q.
 48. The method of claim 44 wherein r is a multiple of s.
 49. The method of claim 44 wherein accessing the (r·t) memory locations, the (s·t) memory locations, and the m memory locations comprises accessing (r·t) embedded memory locations, (s·t) embedded memory locations, and m embedded memory locations.
 50. The method of claim 44 wherein accessing the (r·t) memory locations, the (s·t) memory locations, and the m memory locations comprises accessing (r·t) static random access memory (SRAM) cells, (s·t) SRAM memory cells, and m DRAM memory cells. 